package com.shanzmoo.db.product.service;

import com.shanzmoo.base.bean.PageRespBase;
import com.shanzmoo.base.bean.SResponse;
import com.shanzmoo.db.product.entity.ProductSkuEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shanzmoo.db.product.entity.vo.SkuQueryVO;
import com.shanzmoo.db.product.entity.vo.SkuResultVO;

import java.util.List;

/**
 * <p>
 * 商品sku 服务类
 * </p>
 *
 * @author Xueqz
 * @since 2020-12-09
 */
public interface IProductSkuService extends IService<ProductSkuEntity> {

    SResponse<PageRespBase<SkuResultVO>> getSkuList(SkuQueryVO skuQueryVO);

    List<ProductSkuEntity> getSkuListBySpuId(Integer spuId);

    Integer getSkuIndex(String spu);

    List<SkuResultVO> querySku(List<String> skuCodeList);
}
